﻿
/*暂时不启用*/
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.SessionState;
using System.Web.Routing;
using System.Text;
namespace DreamBox.Net.Web.Http
{
    public class HttpAsyncHandler:IHttpAsyncHandler,IRequiresSessionState
    {
        public RequestContext RequestContext
        {
            get;
            set;
        }
        public HttpAsyncHandler(RequestContext requestContext)
        {
            this.RequestContext = requestContext;
        }
        public IAsyncResult BeginProcessRequest(HttpContext context, AsyncCallback cb, object extraData)
        {
            return null;
        }
      
        public void ProcessRequest(HttpContext HttpContext)
        {
            HttpInvoke.Init(RequestContext);
        }
        public void EndProcessRequest(IAsyncResult result)
        {
 
        }
        public bool IsReusable
        {
            get { return false; }
        }
    }
}
